package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.dao.Uqcm5ChkTemplateCitemDao;
import com.epichust.bootuqc.model.entity.Uqcm5ChkTemplateCitem;
import com.epichust.bootuqc.service.IUqcm5ChkTemplateCitemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/3/23 15:39
 */
@Service
@Transactional
public class Uqcm5ChkTemplateCitemServiceImpl implements IUqcm5ChkTemplateCitemService {
    @Autowired
    Uqcm5ChkTemplateCitemDao uqcm5chktemplatecitemdao;
    @Override
    public List<Uqcm5ChkTemplateCitem> getAllUqcm5ChkTemplateCitem(Map<String, Object> map) {
        return uqcm5chktemplatecitemdao.getAllUqcm5ChkTemplateCitem(map);
    }

    @Override
    public int insertUqcm5ChkTemplateCitem(Uqcm5ChkTemplateCitem uqcm5chktemplatecitem) {
        return uqcm5chktemplatecitemdao.insertUqcm5ChkTemplateCitem(uqcm5chktemplatecitem);
    }
}
